import { pageTo } from 'nc-lightapp-front';

const appCode = pageTo.getSearchParam('c');
const pageCode = pageTo.getSearchParam('p');

const config = {
    appcode: appCode,
    pagecode: pageCode,
    searchcode: 'query',
    headcode: 'head',
    bodycode: 'body',
    multiLang: {
        moduleId: '201104-DJGL',
        domainName: 'erm'
    },
    pageButtonArea: 'page',
    innerButtonArea: 'table_inner',
    pageSize: 100,
    dataSourceCommon: 'erm.bs.eam',
    dataSource: 'erm.bs.eam.list',
    searchCache: 'erm.bs.eam.list.searchCache',
    cache: 'erm.bs.eam.list.cache'
};

export default config;
